package com.spring_mysql_redis.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.spring_mysql_redis.dto.UserLikesDto;
import com.spring_mysql_redis.entity.UserLikes;
import org.apache.ibatis.annotations.Param;

import java.util.List;
public interface UserLikesMapper extends BaseMapper<UserLikes> {

    IPage<UserLikes> selectUserLikesList(Page<UserLikes> page);

    int insertUserLikesList(@Param("listUserLikes") List<UserLikesDto> userLikes_List);


}

